;--- include file created by h2incx v0.95, copyright 2005 japheth
;--- source file: d:\ddraw\include\d3d9caps.h, last modified: 9/28/2004 22:59
ifndef _d3d9CAPS_H
_d3d9CAPS_H	EQU	<>
ifndef DIRECT3D_VERSION
DIRECT3D_VERSION	EQU	0900h
endif 
if (DIRECT3D_VERSION ge 0900h)
ifndef defined
defined macro x
ifdef x
  exitm <-1>
else
  exitm <0>
endif
endm
endif
if defined(_X86_) OR defined(_IA64)
;#pragma pack ( 4 ) 
endif 
D3DVSHADERCAPS2_0	struct
Caps	DWORD	?
DynamicFlowControlDepth	DWORD	?
NumTemps	DWORD	?
StaticFlowControlDepth	DWORD	?
D3DVSHADERCAPS2_0	ends

D3DVS20CAPS_PREDICATION	EQU	( 1  shl  0 )
D3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH	EQU	24
D3DVS20_MIN_DYNAMICFLOWCONTROLDEPTH	EQU	0
D3DVS20_MAX_NUMTEMPS	EQU	32
D3DVS20_MIN_NUMTEMPS	EQU	12
D3DVS20_MAX_STATICFLOWCONTROLDEPTH	EQU	4
D3DVS20_MIN_STATICFLOWCONTROLDEPTH	EQU	1
D3DPSHADERCAPS2_0	struct
Caps	DWORD	?
DynamicFlowControlDepth	DWORD	?
NumTemps	DWORD	?
StaticFlowControlDepth	DWORD	?
NumInstructionSlots	DWORD	?
D3DPSHADERCAPS2_0	ends

D3DPS20CAPS_ARBITRARYSWIZZLE	EQU	( 1  shl  0 )
D3DPS20CAPS_GRADIENTINSTRUCTIONS	EQU	( 1  shl  1 )
D3DPS20CAPS_PREDICATION	EQU	( 1  shl  2 )
D3DPS20CAPS_NODEPENDENTREADLIMIT	EQU	( 1  shl  3 )
D3DPS20CAPS_NOTEXINSTRUCTIONLIMIT	EQU	( 1  shl  4 )
D3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH	EQU	24
D3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH	EQU	0
D3DPS20_MAX_NUMTEMPS	EQU	32
D3DPS20_MIN_NUMTEMPS	EQU	12
D3DPS20_MAX_STATICFLOWCONTROLDEPTH	EQU	4
D3DPS20_MIN_STATICFLOWCONTROLDEPTH	EQU	0
D3DPS20_MAX_NUMINSTRUCTIONSLOTS	EQU	512
D3DPS20_MIN_NUMINSTRUCTIONSLOTS	EQU	96
D3DMIN30SHADERINSTRUCTIONS	EQU	512
D3DMAX30SHADERINSTRUCTIONS	EQU	32768
D3DCAPS9	struct
DeviceType	D3DDEVTYPE	?
AdapterOrdinal	DWORD	?
Caps	DWORD	?
Caps2	DWORD	?
Caps3	DWORD	?
PresentationIntervals	DWORD	?
CursorCaps	DWORD	?
DevCaps	DWORD	?
PrimitiveMiscCaps	DWORD	?
RasterCaps	DWORD	?
ZCmpCaps	DWORD	?
SrcBlendCaps	DWORD	?
DestBlendCaps	DWORD	?
AlphaCmpCaps	DWORD	?
ShadeCaps	DWORD	?
TextureCaps	DWORD	?
TextureFilterCaps	DWORD	?
CubeTextureFilterCaps	DWORD	?
VolumeTextureFilterCaps	DWORD	?
TextureAddressCaps	DWORD	?
VolumeTextureAddressCaps	DWORD	?
LineCaps	DWORD	?
MaxTextureWidth	DWORD	?
MaxTextureHeight	DWORD	?
MaxVolumeExtent	DWORD	?
MaxTextureRepeat	DWORD	?
MaxTextureAspectRatio	DWORD	?
MaxAnisotropy	DWORD	?
MaxVertexW	REAL4	?
GuardBandLeft	REAL4	?
GuardBandTop	REAL4	?
GuardBandRight	REAL4	?
GuardBandBottom	REAL4	?
ExtentsAdjust	REAL4	?
StencilCaps	DWORD	?
FVFCaps	DWORD	?
TextureOpCaps	DWORD	?
MaxTextureBlendStages	DWORD	?
MaxSimultaneousTextures	DWORD	?
VertexProcessingCaps	DWORD	?
MaxActiveLights	DWORD	?
MaxUserClipPlanes	DWORD	?
MaxVertexBlendMatrices	DWORD	?
MaxVertexBlendMatrixIndex	DWORD	?
MaxPointSize	REAL4	?
MaxPrimitiveCount	DWORD	?
MaxVertexIndex	DWORD	?
MaxStreams	DWORD	?
MaxStreamStride	DWORD	?
VertexShaderVersion	DWORD	?
MaxVertexShaderConst	DWORD	?
PixelShaderVersion	DWORD	?
PixelShader1xMaxValue	REAL4	?
DevCaps2	DWORD	?
MaxNpatchTessellationLevel	REAL4	?
Reserved5	DWORD	?
MasterAdapterOrdinal	DWORD	?
AdapterOrdinalInGroup	DWORD	?
NumberOfAdaptersInGroup	DWORD	?
DeclTypes	DWORD	?
NumSimultaneousRTs	DWORD	?
StretchRectFilterCaps	DWORD	?
VS20Caps	D3DVSHADERCAPS2_0	<>
PS20Caps	D3DPSHADERCAPS2_0	<>
VertexTextureFilterCaps	DWORD	?
MaxVShaderInstructionsExecuted	DWORD	?
MaxPShaderInstructionsExecuted	DWORD	?
MaxVertexShader30InstructionSlots	DWORD	?
MaxPixelShader30InstructionSlots	DWORD	?
D3DCAPS9	ends

D3DCAPS_READ_SCANLINE	EQU	00020000h
D3DCAPS2_FULLSCREENGAMMA	EQU	00020000h
D3DCAPS2_CANCALIBRATEGAMMA	EQU	00100000h
D3DCAPS2_RESERVED	EQU	02000000h
D3DCAPS2_CANMANAGERESOURCE	EQU	10000000h
D3DCAPS2_DYNAMICTEXTURES	EQU	20000000h
D3DCAPS2_CANAUTOGENMIPMAP	EQU	40000000h
D3DCAPS3_RESERVED	EQU	8000001fh
D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD	EQU	00000020h
D3DCAPS3_LINEAR_TO_SRGB_PRESENTATION	EQU	00000080h
D3DCAPS3_COPY_TO_VIDMEM	EQU	00000100h
D3DCAPS3_COPY_TO_SYSTEMMEM	EQU	00000200h
D3DPRESENT_INTERVAL_DEFAULT	EQU	00000000h
D3DPRESENT_INTERVAL_ONE	EQU	00000001h
D3DPRESENT_INTERVAL_TWO	EQU	00000002h
D3DPRESENT_INTERVAL_THREE	EQU	00000004h
D3DPRESENT_INTERVAL_FOUR	EQU	00000008h
D3DPRESENT_INTERVAL_IMMEDIATE	EQU	80000000h
D3DCURSORCAPS_COLOR	EQU	00000001h
D3DCURSORCAPS_LOWRES	EQU	00000002h
D3DDEVCAPS_EXECUTESYSTEMMEMORY	EQU	00000010h
D3DDEVCAPS_EXECUTEVIDEOMEMORY	EQU	00000020h
D3DDEVCAPS_TLVERTEXSYSTEMMEMORY	EQU	00000040h
D3DDEVCAPS_TLVERTEXVIDEOMEMORY	EQU	00000080h
D3DDEVCAPS_TEXTURESYSTEMMEMORY	EQU	00000100h
D3DDEVCAPS_TEXTUREVIDEOMEMORY	EQU	00000200h
D3DDEVCAPS_DRAWPRIMTLVERTEX	EQU	00000400h
D3DDEVCAPS_CANRENDERAFTERFLIP	EQU	00000800h
D3DDEVCAPS_TEXTURENONLOCALVIDMEM	EQU	00001000h
D3DDEVCAPS_DRAWPRIMITIVES2	EQU	00002000h
D3DDEVCAPS_SEPARATETEXTUREMEMORIES	EQU	00004000h
D3DDEVCAPS_DRAWPRIMITIVES2EX	EQU	00008000h
D3DDEVCAPS_HWTRANSFORMANDLIGHT	EQU	00010000h
D3DDEVCAPS_CANBLTSYSTONONLOCAL	EQU	00020000h
D3DDEVCAPS_HWRASTERIZATION	EQU	00080000h
D3DDEVCAPS_PUREDEVICE	EQU	00100000h
D3DDEVCAPS_QUINTICRTPATCHES	EQU	00200000h
D3DDEVCAPS_RTPATCHES	EQU	00400000h
D3DDEVCAPS_RTPATCHHANDLEZERO	EQU	00800000h
D3DDEVCAPS_NPATCHES	EQU	01000000h
D3DPMISCCAPS_MASKZ	EQU	00000002h
D3DPMISCCAPS_CULLNONE	EQU	00000010h
D3DPMISCCAPS_CULLCW	EQU	00000020h
D3DPMISCCAPS_CULLCCW	EQU	00000040h
D3DPMISCCAPS_COLORWRITEENABLE	EQU	00000080h
D3DPMISCCAPS_CLIPPLANESCALEDPOINTS	EQU	00000100h
D3DPMISCCAPS_CLIPTLVERTS	EQU	00000200h
D3DPMISCCAPS_TSSARGTEMP	EQU	00000400h
D3DPMISCCAPS_BLENDOP	EQU	00000800h
D3DPMISCCAPS_NULLREFERENCE	EQU	00001000h
D3DPMISCCAPS_INDEPENDENTWRITEMASKS	EQU	00004000h
D3DPMISCCAPS_PERSTAGECONSTANT	EQU	00008000h
D3DPMISCCAPS_FOGANDSPECULARALPHA	EQU	00010000h
D3DPMISCCAPS_SEPARATEALPHABLEND	EQU	00020000h
D3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS	EQU	00040000h
D3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING	EQU	00080000h
D3DPMISCCAPS_FOGVERTEXCLAMPED	EQU	00100000h
D3DLINECAPS_TEXTURE	EQU	00000001h
D3DLINECAPS_ZTEST	EQU	00000002h
D3DLINECAPS_BLEND	EQU	00000004h
D3DLINECAPS_ALPHACMP	EQU	00000008h
D3DLINECAPS_FOG	EQU	00000010h
D3DLINECAPS_ANTIALIAS	EQU	00000020h
D3DPRASTERCAPS_DITHER	EQU	00000001h
D3DPRASTERCAPS_ZTEST	EQU	00000010h
D3DPRASTERCAPS_FOGVERTEX	EQU	00000080h
D3DPRASTERCAPS_FOGTABLE	EQU	00000100h
D3DPRASTERCAPS_MIPMAPLODBIAS	EQU	00002000h
D3DPRASTERCAPS_ZBUFFERLESSHSR	EQU	00008000h
D3DPRASTERCAPS_FOGRANGE	EQU	00010000h
D3DPRASTERCAPS_ANISOTROPY	EQU	00020000h
D3DPRASTERCAPS_WBUFFER	EQU	00040000h
D3DPRASTERCAPS_WFOG	EQU	00100000h
D3DPRASTERCAPS_ZFOG	EQU	00200000h
D3DPRASTERCAPS_COLORPERSPECTIVE	EQU	00400000h
D3DPRASTERCAPS_SCISSORTEST	EQU	01000000h
D3DPRASTERCAPS_SLOPESCALEDEPTHBIAS	EQU	02000000h
D3DPRASTERCAPS_DEPTHBIAS	EQU	04000000h
D3DPRASTERCAPS_MULTISAMPLE_TOGGLE	EQU	08000000h
D3DPCMPCAPS_NEVER	EQU	00000001h
D3DPCMPCAPS_LESS	EQU	00000002h
D3DPCMPCAPS_EQUAL	EQU	00000004h
D3DPCMPCAPS_LESSEQUAL	EQU	00000008h
D3DPCMPCAPS_GREATER	EQU	00000010h
D3DPCMPCAPS_NOTEQUAL	EQU	00000020h
D3DPCMPCAPS_GREATEREQUAL	EQU	00000040h
D3DPCMPCAPS_ALWAYS	EQU	00000080h
D3DPBLENDCAPS_ZERO	EQU	00000001h
D3DPBLENDCAPS_ONE	EQU	00000002h
D3DPBLENDCAPS_SRCCOLOR	EQU	00000004h
D3DPBLENDCAPS_INVSRCCOLOR	EQU	00000008h
D3DPBLENDCAPS_SRCALPHA	EQU	00000010h
D3DPBLENDCAPS_INVSRCALPHA	EQU	00000020h
D3DPBLENDCAPS_DESTALPHA	EQU	00000040h
D3DPBLENDCAPS_INVDESTALPHA	EQU	00000080h
D3DPBLENDCAPS_DESTCOLOR	EQU	00000100h
D3DPBLENDCAPS_INVDESTCOLOR	EQU	00000200h
D3DPBLENDCAPS_SRCALPHASAT	EQU	00000400h
D3DPBLENDCAPS_BOTHSRCALPHA	EQU	00000800h
D3DPBLENDCAPS_BOTHINVSRCALPHA	EQU	00001000h
D3DPBLENDCAPS_BLENDFACTOR	EQU	00002000h
D3DPSHADECAPS_COLORGOURAUDRGB	EQU	00000008h
D3DPSHADECAPS_SPECULARGOURAUDRGB	EQU	00000200h
D3DPSHADECAPS_ALPHAGOURAUDBLEND	EQU	00004000h
D3DPSHADECAPS_FOGGOURAUD	EQU	00080000h
D3DPTEXTURECAPS_PERSPECTIVE	EQU	00000001h
D3DPTEXTURECAPS_POW2	EQU	00000002h
D3DPTEXTURECAPS_ALPHA	EQU	00000004h
D3DPTEXTURECAPS_SQUAREONLY	EQU	00000020h
D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE	EQU	00000040h
D3DPTEXTURECAPS_ALPHAPALETTE	EQU	00000080h
D3DPTEXTURECAPS_NONPOW2CONDITIONAL	EQU	00000100h
D3DPTEXTURECAPS_PROJECTED	EQU	00000400h
D3DPTEXTURECAPS_CUBEMAP	EQU	00000800h
D3DPTEXTURECAPS_VOLUMEMAP	EQU	00002000h
D3DPTEXTURECAPS_MIPMAP	EQU	00004000h
D3DPTEXTURECAPS_MIPVOLUMEMAP	EQU	00008000h
D3DPTEXTURECAPS_MIPCUBEMAP	EQU	00010000h
D3DPTEXTURECAPS_CUBEMAP_POW2	EQU	00020000h
D3DPTEXTURECAPS_VOLUMEMAP_POW2	EQU	00040000h
D3DPTEXTURECAPS_NOPROJECTEDBUMPENV	EQU	00200000h
D3DPTFILTERCAPS_MINFPOINT	EQU	00000100h
D3DPTFILTERCAPS_MINFLINEAR	EQU	00000200h
D3DPTFILTERCAPS_MINFANISOTROPIC	EQU	00000400h
D3DPTFILTERCAPS_MINFPYRAMIDALQUAD	EQU	00000800h
D3DPTFILTERCAPS_MINFGAUSSIANQUAD	EQU	00001000h
D3DPTFILTERCAPS_MIPFPOINT	EQU	00010000h
D3DPTFILTERCAPS_MIPFLINEAR	EQU	00020000h
D3DPTFILTERCAPS_MAGFPOINT	EQU	01000000h
D3DPTFILTERCAPS_MAGFLINEAR	EQU	02000000h
D3DPTFILTERCAPS_MAGFANISOTROPIC	EQU	04000000h
D3DPTFILTERCAPS_MAGFPYRAMIDALQUAD	EQU	08000000h
D3DPTFILTERCAPS_MAGFGAUSSIANQUAD	EQU	10000000h
D3DPTADDRESSCAPS_WRAP	EQU	00000001h
D3DPTADDRESSCAPS_MIRROR	EQU	00000002h
D3DPTADDRESSCAPS_CLAMP	EQU	00000004h
D3DPTADDRESSCAPS_BORDER	EQU	00000008h
D3DPTADDRESSCAPS_INDEPENDENTUV	EQU	00000010h
D3DPTADDRESSCAPS_MIRRORONCE	EQU	00000020h
D3DSTENCILCAPS_KEEP	EQU	00000001h
D3DSTENCILCAPS_ZERO	EQU	00000002h
D3DSTENCILCAPS_REPLACE	EQU	00000004h
D3DSTENCILCAPS_INCRSAT	EQU	00000008h
D3DSTENCILCAPS_DECRSAT	EQU	00000010h
D3DSTENCILCAPS_INVERT	EQU	00000020h
D3DSTENCILCAPS_INCR	EQU	00000040h
D3DSTENCILCAPS_DECR	EQU	00000080h
D3DSTENCILCAPS_TWOSIDED	EQU	00000100h
D3DTEXOPCAPS_DISABLE	EQU	00000001h
D3DTEXOPCAPS_SELECTARG1	EQU	00000002h
D3DTEXOPCAPS_SELECTARG2	EQU	00000004h
D3DTEXOPCAPS_MODULATE	EQU	00000008h
D3DTEXOPCAPS_MODULATE2X	EQU	00000010h
D3DTEXOPCAPS_MODULATE4X	EQU	00000020h
D3DTEXOPCAPS_ADD	EQU	00000040h
D3DTEXOPCAPS_ADDSIGNED	EQU	00000080h
D3DTEXOPCAPS_ADDSIGNED2X	EQU	00000100h
D3DTEXOPCAPS_SUBTRACT	EQU	00000200h
D3DTEXOPCAPS_ADDSMOOTH	EQU	00000400h
D3DTEXOPCAPS_BLENDDIFFUSEALPHA	EQU	00000800h
D3DTEXOPCAPS_BLENDTEXTUREALPHA	EQU	00001000h
D3DTEXOPCAPS_BLENDFACTORALPHA	EQU	00002000h
D3DTEXOPCAPS_BLENDTEXTUREALPHAPM	EQU	00004000h
D3DTEXOPCAPS_BLENDCURRENTALPHA	EQU	00008000h
D3DTEXOPCAPS_PREMODULATE	EQU	00010000h
D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR	EQU	00020000h
D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA	EQU	00040000h
D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR	EQU	00080000h
D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA	EQU	00100000h
D3DTEXOPCAPS_BUMPENVMAP	EQU	00200000h
D3DTEXOPCAPS_BUMPENVMAPLUMINANCE	EQU	00400000h
D3DTEXOPCAPS_DOTPRODUCT3	EQU	00800000h
D3DTEXOPCAPS_MULTIPLYADD	EQU	01000000h
D3DTEXOPCAPS_LERP	EQU	02000000h
D3DFVFCAPS_TEXCOORDCOUNTMASK	EQU	0000ffffh
D3DFVFCAPS_DONOTSTRIPELEMENTS	EQU	00080000h
D3DFVFCAPS_PSIZE	EQU	00100000h
D3DVTXPCAPS_TEXGEN	EQU	00000001h
D3DVTXPCAPS_MATERIALSOURCE7	EQU	00000002h
D3DVTXPCAPS_DIRECTIONALLIGHTS	EQU	00000008h
D3DVTXPCAPS_POSITIONALLIGHTS	EQU	00000010h
D3DVTXPCAPS_LOCALVIEWER	EQU	00000020h
D3DVTXPCAPS_TWEENING	EQU	00000040h
D3DVTXPCAPS_TEXGEN_SPHEREMAP	EQU	00000100h
D3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWER	EQU	00000200h
D3DDEVCAPS2_STREAMOFFSET	EQU	00000001h
D3DDEVCAPS2_DMAPNPATCH	EQU	00000002h
D3DDEVCAPS2_ADAPTIVETESSRTPATCH	EQU	00000004h
D3DDEVCAPS2_ADAPTIVETESSNPATCH	EQU	00000008h
D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES	EQU	00000010h
D3DDEVCAPS2_PRESAMPLEDDMAPNPATCH	EQU	00000020h
D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET	EQU	00000040h
D3DDTCAPS_UBYTE4	EQU	00000001h
D3DDTCAPS_UBYTE4N	EQU	00000002h
D3DDTCAPS_SHORT2N	EQU	00000004h
D3DDTCAPS_SHORT4N	EQU	00000008h
D3DDTCAPS_USHORT2N	EQU	00000010h
D3DDTCAPS_USHORT4N	EQU	00000020h
D3DDTCAPS_UDEC3	EQU	00000040h
D3DDTCAPS_DEC3N	EQU	00000080h
D3DDTCAPS_FLOAT16_2	EQU	00000100h
D3DDTCAPS_FLOAT16_4	EQU	00000200h
;#pragma pack ( ) 
endif 
endif 

;--- errors: 0
;--- end of file ---
